<case value="domain_list">
<php>
$domain_map_json=json_encode($[type]form['options']);

 
</php>

<div class="input-group" style=" width: 50%;">
<input type="text" placeholder="请输入域名id/域名名称" class="form-control input text" name="domain_keyword" id="domain_keyword" value="" {$[type]form.extra_attr}>
<span class="input-group-btn" style="float:left;">
<a class="btn btn-default" href="javascript:change_domain_keyword();">
<i class="fa fa-search"></i>
</a>
</span> 
</div>
<br/> 
<select name="{$[type]form.name}" id="domain_list_sel" class="form-control select"> 
	
</select>  

<script type="text/javascript">
$(function(){
	change_domain_list_sel();
}); 
function change_domain_keyword(){
	var domain_keyword=$("#domain_keyword").val();
	change_domain_list_sel(domain_keyword);
}
function change_domain_list_sel(domain_keyword){
	var  domainid= "{$[type]form.value}";
 
	var domain_map_json={$domain_map_json};
	$.getJSON("index.php?s=/Api/Ajax/get_domainlist_sel_js",{domain_keyword:domain_keyword,domain_map_json:domain_map_json,domainid:domainid},function(json){
        $("#domain_list_sel").html(json);
    });
}
 
</script>
   
</case>